GatewayConfiginterface
Configurations for the io.Connect Gateway connection.
Properties (8)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| gwTokenProvider⚓︎ | GwTokenProvider | x | x | A way to pass custom token provider for Gateway v.3 tokens. |
| inproc⚓︎ | InprocGWSettings | x | x | Connect with GW in memory |
| protocolVersion⚓︎ | number | x | x | Legacy (Version of the Gateway that you are connected to) |
| reconnectAttempts⚓︎ | number | 10 | x | Number of reconnect attempts. |
| reconnectInterval⚓︎ | number | 500 | x | Reconnect interval in milliseconds. |
| sharedWorker⚓︎ | string | x | x | x |
| webPlatform⚓︎ | WebPlatformConnection | x | x | An object containing the configuration settings when core is operating in a web platform environment |
| ws⚓︎ | string | x | x | URL for the WebSocket connections to the Gateway. |